home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / soft / fvsetup.exe / {app} / fv.dll / scripts / DefineSprite_35 / frame_1 / DoAction.as
Text File  |  2003-01-24  |  487b  |  23 lines

  1. set("/:click_times",eval("/:click_times") + "1");
  2. set("/:remain",eval("/:remain") - "1");
  3. bcount = "1";
  4. while("9" >= bcount)
  5. {
  6.    if(getProperty("../", _name) == bcount)
  7.    {
  8.       count = "1";
  9.       while("9" >= count)
  10.       {
  11.          if(getProperty("/" add count, _currentframe) == "1")
  12.          {
  13.             tellTarget("/" add count)
  14.             {
  15.                gotoAndStop(4);
  16.             }
  17.          }
  18.          count += "1";
  19.       }
  20.    }
  21.    bcount += "1";
  22. }
  23.